.lives-page {
  padding-bottom: 60px;
  background-color: #f8f8f8;
  min-height: 100vh;
}

/* 头部样式 */
.lives-header {
  background-color: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.back-button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.back-button span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.page-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.view-toggle {
  padding: 5px 10px;
  background-color: rgba(255, 44, 85, 0.1);
  color: #ff2c55;
  border-radius: 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle:hover {
  background-color: rgba(255, 44, 85, 0.2);
}

/* 内容区域样式 */
.lives-content {
  padding: 15px;
}

/* 网格视图样式 */
.lives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* 列表视图样式 */
.lives-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lives-list .live-card-container {
  width: 100%;
}

.lives-list .live-card {
  display: flex;
  width: 100%;
  height: 120px;
}

.lives-list .media-container {
  width: 200px;
  height: 100%;
}

.lives-list .live-info {
  flex: 1;
  padding: 10px 15px;
}

/* 每个卡片容器的样式 */
.live-card-container {
  animation: fadeIn 0.5s ease;
}

/* 直播卡片在网格视图中的特定样式 */
.lives-grid .live-card {
  width: 100%;
  margin-right: 0;
}

/* 空内容提示 */
.empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-text {
  color: #999;
  font-size: 16px;
}

/* 响应式设计 */
@media (min-width: 768px) {
  .lives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lives-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
} 